<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
	</head>
	<body>
		<script>
	var x, y, z;
		for(x = 1; x <= 25; x++){
		 for(y = 1; y <= 24; y++){
				for(z = 1; z <= 27; z++){
					if(x + y == 25 && y + z == 31 && x + z ==28){
				     document.write("x(红):" + x + " " + "y(白):" + y + " " + "z(黑):" + z);
						break;
						}
					}
				}
			}
		</script>
	</body>
</html>
